#ifndef __2865031_BASICMETHOD_H__
#define __2865031_BASICMETHOD_H__

#include <iostream>
using namespace std;
#include "processor.h"

class BasicMethod : public Processor
{
    protected:

        IplImage * background;
        IplImage * tmp;
        IplImage * res1;
        IplImage * res2;

        bool selectivity;

        double threshold;
        double alpha;

    public:

        BasicMethod();
        ~BasicMethod();
        BasicMethod(const BasicMethod &);
        BasicMethod& operator=(const BasicMethod &);

        BasicMethod(const bool &);

        virtual IplImage * init  (IplImage *);
        virtual IplImage * update(IplImage *);

};

#endif

